package com.ljz.api;

import com.ljz.api.bean.SpuBean;
import com.ljz.common.utils.ReturnResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("ljz-product")
public interface SpuClint {

    @PutMapping("/feign/product")
    ReturnResult updateStock(@RequestBody List<SpuBean> spuBeanList);
}
